Optimal. Leaf size=39 \[ -\frac {F\left (\cos ^{-1}\left (\sqrt {\frac {2}{5+\sqrt {21}}} x\right )|\frac {1}{42} \left (21+5 \sqrt {21}\right )\right )}{\sqrt [4]{21}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 39, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {1109, 431}
\begin {gather*} -\frac {F\left (\text {ArcCos}\left (\sqrt {\frac {2}{5+\sqrt {21}}} x\right )|\frac {1}{42} \left (21+5 \sqrt {21}\right )\right )}{\sqrt [4]{21}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 431
Rule 1109
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {-1+5 x^2-x^4}} \, dx &=2 \int \frac {1}{\sqrt {5+\sqrt {21}-2 x^2} \sqrt {-5+\sqrt {21}+2 x^2}} \, dx\\ &=-\frac {F\left (\cos ^{-1}\left (\sqrt {\frac {2}{5+\sqrt {21}}} x\right )|\frac {1}{42} \left (21+5 \sqrt {21}\right )\right )}{\sqrt [4]{21}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(87\) vs. \(2(39)=78\).
time = 10.09, size = 87, normalized size = 2.23 \begin {gather*} \frac {\sqrt {5-\sqrt {21}-2 x^2} \sqrt {2+\left (-5+\sqrt {21}\right ) x^2} F\left (\sin ^{-1}\left (\sqrt {\frac {1}{2} \left (5+\sqrt {21}\right )} x\right )|\frac {23}{2}-\frac {5 \sqrt {21}}{2}\right )}{2 \sqrt {-1+5 x^2-x^4}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.06, size = 82, normalized size = 2.10
method | result | size |
default | \(\frac {\sqrt {1-\left (\frac {5}{2}-\frac {\sqrt {21}}{2}\right ) x^{2}}\, \sqrt {1-\left (\frac {5}{2}+\frac {\sqrt {21}}{2}\right ) x^{2}}\, \EllipticF \left (x \left (\frac {\sqrt {7}}{2}-\frac {\sqrt {3}}{2}\right ), \frac {5}{2}+\frac {\sqrt {21}}{2}\right )}{\left (\frac {\sqrt {7}}{2}-\frac {\sqrt {3}}{2}\right ) \sqrt {-x^{4}+5 x^{2}-1}}\) | \(82\) |
elliptic | \(\frac {\sqrt {1-\left (\frac {5}{2}-\frac {\sqrt {21}}{2}\right ) x^{2}}\, \sqrt {1-\left (\frac {5}{2}+\frac {\sqrt {21}}{2}\right ) x^{2}}\, \EllipticF \left (x \left (\frac {\sqrt {7}}{2}-\frac {\sqrt {3}}{2}\right ), \frac {5}{2}+\frac {\sqrt {21}}{2}\right )}{\left (\frac {\sqrt {7}}{2}-\frac {\sqrt {3}}{2}\right ) \sqrt {-x^{4}+5 x^{2}-1}}\) | \(82\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {- x^{4} + 5 x^{2} - 1}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \int \frac {1}{\sqrt {-x^4+5\,x^2-1}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________